package name;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
       Scanner sc=new Scanner(System.in);
        System.out.println("请输入数字");
         int i1 = sc.nextInt();
        int sum=0;
        for (int i = 0; i < i1; i++) {
            if (i%2 != 0) {
                sum+=i;
            }
        }
        System.out.println("100以内所有技术的和："+sum);
    }

}
